/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Delta;

import java.awt.Color;

/**
 *
 * @author Ahmet
 */
public class Materie {
    //E-modulus (Elasticiteitsmodulus)
    private double E;
    
    //rho (ρ | dichtheid)
    private double rho;
    
    //Mu (ν | dwarscontractiecoëfficiënt)
    private double Mu;
    
    private String name;
    private String manufacturer;
    private Color color;
    
    double sterkte;
    String type;
    String website;
    String comments;
    int nr;
    
    //alfa (α | thermische uitzetting)
    //double a;

    public Materie(double E, double rho, double Mu,Color color, String name, String manufacturer) {
        this.E = E;
        this.rho = rho;
        this.Mu = Mu;
        this.name = name;
        this.manufacturer = manufacturer;
        this.color = color;
        
        this.comments = "";
        this.website = "";
        this.sterkte = 0;
        this.type = "";
    }
    
    
    public int getNr() {
        return nr;
    }

    public void setNr(int nr) {
        this.nr = nr;
    }
    
    public double getE() {
        return E;
    }

    public void setE(double E) {
        this.E = E;
    }

    public double getMu() {
        return Mu;
    }

    public void setMu(double Mu) {
        this.Mu = Mu;
    }

    public double getRho() {
        return rho;
    }

    public void setRho(double rho) {
        this.rho = rho;
    }
    
    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }
    
    
    
    
    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public double getSterkte() {
        return sterkte;
    }

    public void setSterkte(double sterkte) {
        this.sterkte = sterkte;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }
    
    @Override
    public String toString()
    {
        return this.name;
    }
    
}
